package com.easy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 风亦未止
 * @date 2021/9/22 16:21
 */
@ApiModel(value="com-easy-domain-NoteImgs")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "note_imgs")
public class NoteImgs implements Serializable {
    /**
     * 小纸条id
     */
    @TableField(value = "note_id")
    @ApiModelProperty(value="小纸条id")
    private Long noteId;

    /**
     * 图片url
     */
    @TableField(value = "img_url")
    @ApiModelProperty(value="图片url")
    private String imgUrl;

    private static final long serialVersionUID = 1L;

    public static final String COL_NOTE_ID = "note_id";

    public static final String COL_IMG_URL = "img_url";
}